PhpParser\PrettyPrinterAbstract D

Total Complexity 242
Dependencies 135
Dependents 0
Total lines 1,635
Lines of code 966
Logical lines of code 458
Comment lines 351
Methods 39
Properties 17

Methods 39

Method Rating Maintainability Complexity Lines of code
pArray()
D
22
56 180
p()
D
29 32 118
pFixup()
C
38 27 68
staticDereferenceLhsRequiresParens()
A
57 13 15
initializeFixupMap()
A
38 4 78
callLhsRequiresParens()
S
63 8 10
pModifiers()
S
63 8 9
newOperandRequiresParens()
S
59 7 14
initializeListInsertionMap()
S
37 2 86
pCommaSeparatedMultiline()
S
54 6 21
pStmts()
S
55 6 20
isMultiline()
S
55 6 20
pPrefixOp()
S
56 6 17
safeAppend()
S
59 5 15
initializeLabelCharMap()
S
60 5 13
initializeNodeListDiffer()
S
62 5 11
prettyPrintFile()
S
59 4 13
initializeRemovalMap()
S
46 2 42
__construct()
S
60 4 11
initializeInsertionMap()
S
47 2 34
initializeEmptyListInsertionMap()
S
49 2 32
preprocessNodes()
S
65 4 9
pPostfixOp()
S
59 3 14
pImplode()
S
63 3 11
printFormatPreserving()
S
54 2 21
initializeModifierChangeMap()
S
58 2 15
pInfixOp()
S
60 2 12
dereferenceLhsRequiresParens()
S
75 2 4
pComments()
S
68 2 7
pStatic()
S
80 2 3
handleMagicTokens()
S
64 2 10
resetState()
S
74 1 5
pCommaSeparated()
S
79 1 3
prettyPrintExpr()
S
76 1 4
prettyPrint()
S
72 1 5
outdent()
S
72 1 5
indent()
S
76 1 4
setIndentLevel()
S
74 1 4
pFallback()
S
78 1 3